package com.buli.blmall.admin.exception.error;

/**
 * @author xiang.gao
 * @date 2025/2/20 18:41
 */
public enum SmsErrorCode {

    CAPTCHA_EXPIRE(4004, "验证码已过期"),
    CAPTCHA_ERROR(4005,"验证码错误"),
    SMS_SEND(4006, "验证码已发送"),
    SMS_MAX_LIMIT(4007, "验证码发送次数已达上限"),
    SMS_SEND_FAIL(4008, "短信验证码发送失败");

    private Integer code;
    private String mesage;

    public Integer getCode() {
        return code;
    }

    public String getMesage() {
        return mesage;
    }

    SmsErrorCode(Integer code, String mesage) {
        this.code = code;
        this.mesage = mesage;
    }

}
